package com.treasure.hunt.entity

import com.module.lemlin.rxhttp.HttpServiceData

data class UserInfoResponse(
    val data: UserInfo
) : HttpServiceData()

data class LoginUserInfoResponse(
    val data: LoginUserInfo
) : HttpServiceData()

data class LoginUserInfo(
    val userinfo: UserInfo
)

data class UserInfo(
    val id: Int,
    val nickname: String,
    val avatar: String,
    val openid: String? = null,
    val token: String,
    val cart_num: Int,
    val lucky: Int,
    val identification_code: String
)